
import urllib.request

url = 'https://www.kuaishou.com/profile/3xkymsgf93ki2sk'

headers = {
    'user-agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36'
# cookie
}

request = urllib.request.Request(url=url,headers=headers)
response = urllib.request.urlopen(request)
content = response.read()
content_decode = content.decode('utf-8')
print(content_decode)

f = open('../download/kuaishou.html','w',encoding='utf-8')
f.write(content_decode)
f.close()


# 现在反扒手段升级，不好用了




